package com.blog.service;

import com.blog.pojo.Followee;

import java.util.List;

public interface FolloweeService {
    public Followee addFollowee(Followee followee);
    public List<Followee> findByFolloweeId(int followeeId);
    public Followee findByUserIdAndFolloweeId(int uId,int followeeId);
    public boolean delete(int uId, int followeeId);

    //粉丝的列表
    public List<Followee> findFanList(int followeeId);
    //粉丝的总数
    public int findFanCount(int followeeId);
    //被关注者粉丝数 +1(根据用户id)
    public int addFanCount(int id);
    //被关注者粉丝数 -1(根据用户id)
    public int reduceFanCount(int id);
    //关注的总数
    public int findFolloweeCount(int uId);
    //关注的列表
    public List<Followee> findFolloweeList(int uId);

    //关注加一
    public int addFolloweeCount(int id);

    //关注减一
    public int reduceFolloweeCount(int id);


}
